package com.sweet.fourtimeoa.pojo.dto;

import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
public class AnnouncementDto {
    private String content; //内容
    private String title;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
//    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone="GMT+8")
    private Date startTime; //发布开始时间
    private String username;
    private String urgency; //紧急程度
    private Integer announcementId;
}
